package cn.yl.comment.server.entity;

import cn.yl.api.server.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程留言点赞表
 * </p>
 *
 * @author yl
 * @since 2022-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("course_comment_favorite_record")
@ApiModel(value = "CourseCommentFavoriteRecord对象", description = "课程留言点赞表")
public class CourseCommentFavoriteRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("用户评论ID")
    @TableField("comment_id")
    private Integer commentId;

    @ApiModelProperty("是否删除，0：未删除（已赞），1：已删除（取消赞状态）")
    @TableField("is_del")
    private Boolean del;


}
